﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Styles/Site.Master" CodeBehind="Billing.aspx.cs" Inherits="Shop4Aggies.Billing" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <div id="id1" class="Billing">
    <table>        
        <tr>
         <asp:Label ID="ErrorTxt" runat="server" Text="" CssClass="ErrorText" />
        </tr>
        <tr>         
        <td style="text-align: left;">
         <asp:Label  ID="Label1" runat="server"  Text="Payment Information" Font-Bold="True" 
                 Font-Size="Larger" Font-Underline="True"></asp:Label>
                 </td>
        </tr>

        <tr>      
            <td style="text-align: left;">
                <asp:Label ID="Label3" runat="server" Text="Label">Select Credit Card Type</asp:Label>
            </td>
        
            <td style="text-align: left;">
                <asp:DropDownList ID="ddCardType" runat="server">
                    <asp:ListItem Text="Visa"></asp:ListItem>
                    <asp:ListItem Text="Master Card"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>   

        <tr>
                <td style="text-align: left;">
                <asp:Label ID="Label4" runat="server" Text="Label">Credit Card Number</asp:Label>
                </td>
                <td style="text-align: left;">
                
                <asp:TextBox ID="tbCCNum" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" id="reqCCNum" controltovalidate="tbCCNum" errormessage="<br>Please enter CC Number!" CssClass="ErrorText" />
                </td>
        </tr>

        <tr>
        
        <td style="text-align: left;">
        <asp:Label ID="Label12" runat="server" Text="Label">CVV</asp:Label>
        </td>

        <td style="text-align: left;">
        <asp:TextBox ID="tbCVV" runat="server" Width="25px"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator1" controltovalidate="tbCVV" errormessage="<br>Please enter CVV!" CssClass="ErrorText" />
        </td>

        </tr>

         <tr>
        
        <td style="text-align: left;">
        <asp:Label ID="Label13" runat="server" Text="Label">Expiration Month</asp:Label>
        </td>

        <td style="text-align: left;">
        <asp:TextBox ID="tbExpMonth" runat="server" Width="25px"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator2" controltovalidate="tbExpMonth" errormessage="<br>Please enter Exp Month!" CssClass="ErrorText" />
        </td>

          <td style="text-align: left;">
        <asp:Label ID="Label14" runat="server" Text="Label">Expiration Year</asp:Label>
        </td>

        <td style="text-align: left;">
        <asp:TextBox ID="tbExpYear" runat="server" Width="42px"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator3" controltovalidate="tbExpYear" errormessage="<br>Please enter Exp Year!" CssClass="ErrorText" />
        </td>


        </tr>



         <tr>
         <td style="text-align: left;">
         <asp:Label  ID="Label2" runat="server" Text="Billing Address" Font-Bold="True" 
                 Font-Size="Larger" Font-Underline="True"></asp:Label>
         </td>
         </tr>
           
         <tr>
            <td style="text-align: left;">
            <asp:Label ID="Label5" runat="server" Text="Label">First Name</asp:Label>
            </td>
            <td style="text-align: left;">
            <asp:TextBox ID="tbFirstName" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator4" controltovalidate="tbFirstName" errormessage="<br>Please enter First Name!" CssClass="ErrorText" />
            </td>

            <td style="text-align: left;">
             <asp:Label ID="Label6" runat="server" Text="Label">Last Name</asp:Label>
             </td>

             <td style="text-align: left;">
            <asp:TextBox ID="tbLastName" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator5" controltovalidate="tbLastName" errormessage="<br>Please enter Last Name!" CssClass="ErrorText" />
            </td>

         </tr>
          
          <tr>
          
              <td style="text-align: left;">
          <asp:Label ID="Label7" runat="server" Text="Label">Address</asp:Label>
              </td>
          

              <td style="text-align: left;">
              <asp:TextBox ID="tbAddress" runat="server"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator6" controltovalidate="tbAddress" errormessage="<br>Please enter Address!" CssClass="ErrorText" />
              </td>
          

          </tr>      


          <tr>
            <td style="text-align: left;">
                <asp:Label ID="Label8" runat="server" Text="Label">City</asp:Label>
            </td>          
            <td>
                <asp:TextBox ID="tbCity" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator7" controltovalidate="tbCity" errormessage="<br>Please enter City!" CssClass="ErrorText" />
            </td>
          </tr>


          <tr>
            <td style="text-align: left;">
            <asp:Label ID="Label9" runat="server" Text="Label">State</asp:Label>
            </td>

            <td style="text-align: left;">
                <asp:TextBox ID="tbState" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator8" controltovalidate="tbState" errormessage="<br>Please enter State!" CssClass="ErrorText" />
            </td>
          
                <td style="text-align: left;">
                <asp:Label ID="Label11" runat="server" Text="Label">Postal Code</asp:Label>
              </td>

                <td style="text-align: left;">
                        <asp:TextBox ID="tbPostalCode" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator9" controltovalidate="tbPostalCode" errormessage="<br>Please enter Postal Code!" CssClass="ErrorText" />
                 </td>


          
          </tr>

          <tr>
            <td style="text-align: left;">
                <asp:Label ID="Label10" runat="server" Text="Label">Country</asp:Label>
            </td>

            <td style="text-align: left;">
                <asp:TextBox ID="tbCountry" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" id="RequiredFieldValidator10" controltovalidate="tbCountry" errormessage="<br>Please enter Country!" CssClass="ErrorText" />
            </td>
          </tr>


        </table>
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
    </div>

</asp:Content>
